<extend name="Base/common" />
<block name="body">
	<!--导航引用-->
	<include file="Public/nav" />
	<include file="Public/nav_footer" />
	<section class="ui-container">
		<!--搜索引用-->
		<include file="Public/search" />
		<volist name="list" id="v">
		    <a href="{:U('allGoods', array('parent_id' => $v['id']))}"><h5 class="ui-whitespace ui-index-title ui-border-tb"><b>{$v.name}推荐</b></h5></a>
			<ul class="ui-justify ui-pxui-goods ">
				<volist name="v.son" id="vo">
			        <li>
			        	<a href="{:U('GoodsList/goods_detail', array('id' => $vo['id']))}">
			        		<div class="ui-goods-img-wrap">
			        			<img class="ui-goods-img" src="{$vo.picture||get_cover='path'}"/>
			        			<img class="ui-goods-img-size" src="http://placeholder.qiniudn.com/640x300"/>
			        		</div>
				        	<div class="ui-goods-txt">
			        			<p class="name ui-nowrap-multi">{$vo.name|msubstr=###,0,12}</p>
					        	<div class="price">
					        		<span>￥{$vo.price}/{$vo.unit_id|getUnitName=###}</span>
					        		<small class="ui-txt-info">专柜价:</small><del>￥{$vo.shop_price}</del>
					        	</div>
			        		</div>
			        		<i class="ui-badge-wrap">
			        			<span>立奖<br>{$vo.zhekou|count_zhekou=###}%</span>
			        			<i class="ui-badge-tag"></i>
			        		</i>
		        		</a>
			        </li>
		        </volist>
		    </ul>
	    </volist>
	    <a href="{:U('allGoods')}" class="ui-more-btn">查看全部</a>
	    <!--版权引用-->
	    <include file="Public/m_footer" />
	</section>
</block>
